{% extends 'homepage.html' %}

{% block content %}

<div>
An {{KNOWL("ec", title="elliptic curve")}} is a {{KNOWL("ag.curve.smooth",title="smooth")}} projective {{KNOWL("ag.curve",title="curve")}} of {{KNOWL("ag.curve.genus",title="genus")}} 1 with a rational basepoint $O$. 
</div>

<h2> Browse {{ KNOWL('',title='Artin representations')}}</h2>

<p>
By {{ KNOWL('',title = "conductor")}}:
<a href="?conductor={{'1-99'}}">{{'1-99'}}</a>
<a href="?conductor={{'100-199'}}">{{'100-199'}}</a>
<a href="?conductor={{'200-299'}}">{{'200-299'}}</a>
<a href="?conductor={{'300-399'}}">{{'300-399'}}</a>
</p>
<p>
By {{ KNOWL('ec.q.rank', title="rank")}}:
{% for r in info.rank_list: %}
<a href="?rank={{r}}">{{r}}</a>
{% endfor %}
</p>
<p>
By {{ KNOWL('ec.q.torsion_order', torsion=t,title="torsion order") }}:
{% for t in info.torsion_list: %}
<a href="?torsion={{t}}">{{t}}</a>
{% endfor %}
</p>


<h2> Find a specific curve or {{ KNOWL('ec.isogeny_class',title="isogeny class") }}</h2>
<form>
<input type='text' name='label' size=25 placeholder="11a2">
<button type='submit' name='jump' value='label or isogeny class' >label or isogeny class</button>
<br><span class="formexample">e.g. 11a2 or 389a </span>
</form>

<h2> Search </h2>
Please enter a value or leave blank:
<p></p>
<form>
  <table>
    <tr>
      <td>{{ KNOWL('ec.q.conductor',title = "conductor") }}</td>
     <td>
       <input type='text' name='conductor' placeholder="389" size=10/>
     </td>
     <td><span class="formexample"> e.g. 389 or 100-200</span></td>
    </tr>


   <tr>
   <td>
    {{ KNOWL('ec.q.rank',title="rank") }}
    </td>
           <td>
           <input type='text' name='rank' placeholder="0" size=10>
           </td>
           <td><span class="formexample"> e.g. 0 </span>
           </td>
    </tr>

    <tr>
          <td>
          {{ KNOWL('ec.q.torsion_order',title="torsion order") }}
          </td>
          <td> 
          <input type='text' name='torsion' placeholder="2" size=10/>
          </td>
          <td>
          <span class="formexample"> e.g. 2 </span>
          </td>   
      </tr>


    <tr>
      <td>{{ KNOWL('ec.q.optimal',title="Optimal") }}</td>
      <td>
         <select name='optimal'>
           <option value="">No</option>
           <option value="on">Yes</option>
         </select>
      </td>

      
    </tr>

<tr>
<td align=left colspan=4>Maximum number of curves to display <input type='text' name='count' value=100 size=10>
</td>
</tr>


  </table>
<p></p>
<td><button type='submit' value='Search'>Search</td>

</form>
{% endblock %}
